//
//  UITextView+Category.h
//  Project_Demo
//
//  Created by caoxiaozhu on 2018/7/5.
//  Copyright © 2018年 caoxiaozhu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UITextView (Category)



/**
 TextView 快速初始化

 @param textStr 文字
 @param bacColor 背景颜色
 @param type 键盘类型
 @param enable 能否滚动
 @param canEdit 是否能编辑
 @param font 字体大小
 @param alignment 字体排列
 @param color 文字颜色
 @return textView
 */
+(UITextView*)textViewWithStr:(NSString *)textStr BackgroundColor:(UIColor *)bacColor KeyboardType:(UIKeyboardType)type ScrollEnable:(BOOL)enable CanEditable:(BOOL)canEdit Font:(UIFont *)font TextAlignment:(NSTextAlignment )alignment TextColor:(UIColor *)color;

@end
